const isDev = process.env.NODE_ENV === 'development' ? true : false
const publishUrl = 'https://bkycms.com/addons/yb_wm/views/common/template/'
const backendPath = isDev
    ? publishUrl
    : location.href.match(/(\S*)views/)[1] + 'views/common/template/'
module.exports =
    {
        "body": {
            "list": [
                {
                    "title": "标题栏",
                    "name": "titles",
                    "styles": {
                        "marginTop": 0,
                        "marginBottom": 0,
                        "marginLeft": 0,
                        "marginRight": 0,
                        "wordStatus": "center",
                        "circle": 0,
                        "colorBg": "#fff",
                        "upLoad1": {
                            "text": "网站标题",
                            "img": "",
                            "url": "",
                            "colorWord": "#212121"
                        },
                        "upLoad2": {
                            "text": "查看",
                            "img": "",
                            "url": "",
                            "colorWord": "#969696"
                        },
                        "marginLR": 0
                    }
                },
                {
                    "title": "图片",
                    "name": "pictures",
                    "styles": {
                        "marginTop": 0,
                        "marginBottom": 0,
                        "marginLeft": 0,
                        "marginRight": 0,
                        "circle": 0,
                        "paddingTop": 10,
                        "height": 100,
                        "imgUrl": [
                            {
                                "img": backendPath+"style1/202011261132307821.png",
                                "url": ""
                            }
                        ],
                        "marginLR": 0
                    }
                },
                {
                    "title": "商品组",
                    "name": "product",
                    "styles": {
                        "type": "1",
                        "typeBg": "1",
                        "colorBg": "rgba(0, 0, 0, 0)",
                        "img": "",
                        "typeBtn": "2",
                        "typePay": "-1",
                        "typeText": "推荐",
                        "colorBtn": "#ff0303",
                        "colorProductBg": "#fff",
                        "colorTitle": "#212121",
                        "marginTop": 0,
                        "marginBottom": 0,
                        "marginLeft": "0",
                        "marginRight": "0",
                        "typeProduct": "1",
                        "productName": [
                            {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "76",
                                    "name": "家用组装台式整机",
                                    "icon": backendPath+"style1/202011261202478733.jpg",
                                    "salesNum": 0,
                                    "typePid": "80",
                                    "typeId": null,
                                    "price": "11599.00",
                                    "stock": "10000",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": null,
                                    "isSpecs": "2",
                                    "storeId": "58",
                                    "isMain": 1,
                                    "category_name": "电竞整机",
                                    "media": null
                                },
                                "category": "商品"
                            },
                            {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "75",
                                    "name": "一体机电脑九代",
                                    "icon": backendPath+"style1/202011261201341160.jpg",
                                    "salesNum": 0,
                                    "typePid": "81",
                                    "typeId": null,
                                    "price": "9999.00",
                                    "stock": "1000",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": null,
                                    "isSpecs": "2",
                                    "storeId": "58",
                                    "isMain": 1,
                                    "category_name": "一体机",
                                    "media": null
                                },
                                "category": "商品"
                            },
                            {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "70",
                                    "name": "台式机电脑主板CPU套装",
                                    "icon": backendPath+"style1/202011261153449001.jpg",
                                    "salesNum": 0,
                                    "typePid": "77",
                                    "typeId": null,
                                    "price": "3229.00",
                                    "stock": "1000",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": null,
                                    "isSpecs": "2",
                                    "storeId": "58",
                                    "isMain": 1,
                                    "category_name": "CPU",
                                    "media": null
                                },
                                "category": "商品"
                            },
                            {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "69",
                                    "name": "笔记本台式固态硬盘修改",
                                    "icon": backendPath+"style1/202011261151407867.jpg",
                                    "salesNum": "7",
                                    "typePid": "76",
                                    "typeId": null,
                                    "price": "139.00",
                                    "stock": "993",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": null,
                                    "isSpecs": "2",
                                    "storeId": "58",
                                    "isMain": 1,
                                    "category_name": "硬盘",
                                    "media": null
                                },
                                "category": "商品"
                            },
                            {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "68",
                                    "name": "盒装cpu台式机电脑套装",
                                    "icon": backendPath+"style1/202011261149236095.jpg",
                                    "salesNum": 0,
                                    "typePid": "75",
                                    "typeId": null,
                                    "price": "2459.00",
                                    "stock": "1111",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": null,
                                    "isSpecs": "2",
                                    "storeId": "58",
                                    "isMain": 1,
                                    "category_name": "主板",
                                    "media": null
                                },
                                "category": "商品"
                            },
                            {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "67",
                                    "name": "电脑台式机独立显卡",
                                    "icon": backendPath+"style1/202011261144446517.jpg",
                                    "salesNum": "1",
                                    "typePid": "74",
                                    "typeId": null,
                                    "price": "259.00",
                                    "stock": "9999",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": "549.00",
                                    "isSpecs": "1",
                                    "storeId": "58",
                                    "isMain": 1,
                                    "category_name": "显卡",
                                    "media": null
                                },
                                "category": "商品"
                            }
                        ],
                        "productMarket": "2",
                        "productNum": 20,
                        "marginLR": 0,
                        "circle": 0
                    }
                }
            ],
            "pageSetting": [
                {
                    "title": "页面设置",
                    "name": "nameless",
                    "styles": {
                        "modulePage": "2",
                        "colorIcon": "#F5F5F5",
                        "colorBg": "#fff",
                        "moduleTitle": "1",
                        "title": "列表标题",
                        "navTitle": "首页",
                        "img": backendPath+"style1/202012031355454311.jpg",
                        "colorWord": "#333"
                    }
                }
            ],
            "susBtn": [
                {
                    "title": "悬浮设置",
                    "name": "susBtn",
                    "status": "0",
                    "styles": {
                        "status": 0,
                        "type": "right",
                        "shifting": 600,
                        "imgUrl": [
                            {
                                "img": backendPath+"style1/202102191758077593.png",
                                "url": ""
                            }
                        ]
                    }
                }
            ],
            "attention": [
                {
                    "title": "关注条",
                    "name": "attention",
                    "styles": {
                        "status": 1,
                        "img": backendPath+"style1/202011261139576059.png",
                        "text": "点击关注我们哦~"
                    }
                }
            ],
            "remind": [
                {
                    "title": "下单提醒",
                    "name": "remind",
                    "styles": {
                        "status": "0",
                        "colorWord": "#fff",
                        "colorBg": "#000",
                        "percent": "80",
                        "shifting": "120",
                        "type": "2",
                        "numberList": [
                            {
                                "img": "",
                                "text": "",
                                "time": ""
                            },
                            {
                                "img": "",
                                "text": "",
                                "time": ""
                            }
                        ]
                    }
                }
            ],
            "open": [
                {
                    "title": "启动页",
                    "name": "open",
                    "styles": {
                        "status": "2",
                        "type": "1",
                        "colorBg": "#000",
                        "percent": 30,
                        "imgUrl": [
                            {
                                "img": "",
                                "url": ""
                            }
                        ]
                    }
                }
            ],
            "menu": [
                {
                    "title": "导航",
                    "name": "menu",
                    "styles": {
                        "colorSelect": "#333",
                        "colorUnselect": "#999",
                        "colorLine": "#eee",
                        "colorBg": "#fff",
                        "imgUrl": [
                            {
                                "text": "首页",
                                "url": {
                                    "params": "platform",
                                    "name": {
                                        "id": "index",
                                        "name": "首页"
                                    },
                                    "category": "平台首页"
                                },
                                "front": [
                                    {
                                        "img": backendPath+"style1/202011261135065572.png"
                                    }
                                ],
                                "back": [
                                    {
                                        "img": backendPath+"style1/202011261133049125.png"
                                    }
                                ]
                            },
                            {
                                "text": "我的",
                                "url": {
                                    "params": "platform",
                                    "name": {
                                        "id": "member",
                                        "name": "个人中心"
                                    },
                                    "category": "平台首页"
                                },
                                "front": [
                                    {
                                        "img": backendPath+"style1/202011261135492192.png"
                                    }
                                ],
                                "back": [
                                    {
                                        "img": backendPath+"style1/202011261135437989.png"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ]
        },
        "page": "1",
        "name": "过审模板"
    }


